package com.jerry.base.io.standard;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA
 * User: Jerry
 * Date: 2024/1/27
 * Time: 17:28
 * Description:
 */
public class InputAndOutput {

    public static void main(String[] args) {
        // 编译类型：InputStream
        // 运行类型：BufferedInputStream
        // 标准输入：键盘
        System.out.println(System.in.getClass());

        // 编译类型：PrintStream
        // 运行类型：PrintStream
        // 标准输入：显示器
        System.out.println(System.out.getClass());

        Scanner scanner = new Scanner(System.in);
        System.out.println(scanner.next());
    }
}
